cssnode: Implement the style cache
authorBenjamin Otte <otte@redhat.com>
Sat, 16 Jan 2016 03:48:58 +0000 (04:48 +0100)
committerBenjamin Otte <otte@redhat.com>
Sat, 16 Jan 2016 22:58:37 +0000 (23:58 +0100)
commit024429f76fc605e834fef3ca654a0d0cdaac1dfa
tree83a0fa80a60241556d3484deef49f9898f1f5f43
parent5d562b6a2aca6c1d0db93286eb7eb719fe2e3c98
cssnode: Implement the style cache

This essentially copies the previous cache implementation. With one
caveat: It is now attached to and maintained by the CssNode, not by the
CssStyle.

And this is important because styles may be reused in incompatible
situations which would cause cache collisions and lead to broken CSS in
weird situations.
gtk/gtkcssnodestylecache.c
gtk/gtkcssnodestylecacheprivate.h